﻿using System.Collections.Generic;
using System.Net.Sockets;

//------------------------------------------------------------
// shaco Framework
// Copyright © 2017-2021 chang.liu All rights reserved.
// Feedback: 449612236@qq.com
//------------------------------------------------------------

namespace shaco.Base.Net
{
    public class SendEventInfo
    {
        public byte[] data;
        public string error;
    }

    public class ReceiveEventInfo
    {
        public IHeaderInfo header;
        public byte[] body;
        public string error;
    }

    public interface IHeaderInfo
    {
        int headerLength { get; }
        int dataLength { get; set; }
    }
}